package com.wen.dao;

import com.wen.pojo.Permission;

import java.util.List;

public interface PermissionMapper {
    List<Permission> findAll() throws Exception;

    Permission findById(int id) throws Exception;
    int deleteById(int id)throws Exception;

    int updateById(Permission permission)throws Exception;
    int add(Permission permission)throws Exception;
}
